package com.treasure.mall.biz.dto.common;

import com.treasure.mall.biz.dto.live.LiveMessageUserLevel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.dto.live
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/23 13:43
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.dto.live Inc. All rights reserved.
 */
@Data
@ApiModel
public class ChatMessageBodyDTO {

    private String groupId;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("消息内容")
    private String message;

    private String face;

    private Long userId;

    @ApiModelProperty("消息ID，随机数")
    private String id;
    /**
     * {@link com.treasure.mall.biz.remote.live.enums.MessageType}
     */
    @ApiModelProperty("消息类型，general：普通消息，subscribe关注消息，share分享消息，payed支付成功消息，join 进入直播间消息")
    private String type;

    @ApiModelProperty("发消息用户的级别")
    private LiveMessageUserLevel level;

    private LocalDateTime time;
    /**
     *
     */
    private BigDecimal money;
    /**
     * 图片
     */
    private String pic;
    /**
     * 商品ID
     */
    private Long productId;
    /**
     * 订单ID
     */
    private String orderId;

}
